package geektime.spring.springbucks.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.joda.money.Money;

import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor

@XmlRootElement(name = "coffee")
public class Coffee extends BaseEntity implements Serializable {
    private String name;
    private Long price;
}
